public class AverageWaitingTime {
    public static void main(String[] args) {
        int[][] costumers = new int[][]{{2,3},{6,3},{7,5},{11,3},{15,2},{18,1}};
        Solution solution = new Solution();
        System.out.println(solution.averageWaitingTime(costumers));
    }
}
